import {DataOpt} from "./DataOption";

export interface SetRequestOption{
    index : number;
    set_option : SetRequestNormalOption | SetRequestNormalListOption | SetThenGetRequestNormalListOption,
}

export interface SetRequestNormalOption{
    piid : String;
    oad : String;
    data : DataOpt;
}

export interface SetRequestNormalListOption{
    piid : String;
    seqOfOad : Array<String>;
    seqofData : Array<DataOpt>;
}

export interface SetThenGetRequestNormalListOption{
    piid : String;
    seqSetThenGetDataOption : Array<SetThenGetDataOption>;
}

export interface SetThenGetDataOption{
    soad : String;
    data : DataOpt;
    road : String;
    delayTime : number;
}

